<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp" %>
<%@ include file="/common/grid/jqGrid.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="">
	<meta http-equiv="description" content="This is my page">
	
  </head>
  
  <body>
    <center>
    	<s:form name="frm" id="frm" method="post" action="" namespace="">
			<input type="button" id="ts" value="测试script" onclick="testScript()" />
			<input type="button" id="tps" value="测试pagescript" onclick="testPageScript()" />

			<input type="button" id="ts" value="showLoading" onclick="testLoading()" />
			<input type="button" id="tps" value="hideLoading" onclick="testLoading2()" />
			
			
			<%--
			<APPLET codeBase="./" code="com.pk.test.business.core.web.ScriptAction.class" width=80 height=25 MAYSCRIPT>
			--%>
			
    	</s:form>
    </center>
    
    <script type="text/javascript">
    function testScript()
    {
    	ajaxAction('test/testScript.action', 'get', 'frm', false);
    }
    
    function testPageScript()
    {
    	ajaxAction('test/testPageScript.action', 'get', 'frm', false);
    }

    function testLoading()
    {
        showLoading();
    }

    function testLoading2()
    {
        hideLoading();
    }
    
    </script>
  </body>
</html>
